package eu.webhib.frmwrk.service.utils;

import java.util.List;

import eu.webhib.frmwrk.domain.intf.BaseEntity;

public class RangeData<T extends BaseEntity> {

   private List<T> items;
   private int startIndex;
   private int totalCount;

   public RangeData(List<T> items, int startIndex, int totalCount) {
      this.items = items;
      this.startIndex = startIndex;
      this.totalCount = totalCount;
   }

   public List<T> getItems() {
      return items;
   }

   public int getStartIndex() {
      return startIndex;
   }

   public int getTotalCount() {
      return totalCount;
   }
}
